package com.parking.platform.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Digits;

/**
 * 修改角色状态
 * 参数
 * 角色id:platformRoleId
 * 账号状态：state
 * */
@Data
@ApiModel("修改平台角色状态参数对象")
public class UpPlatformStateForm {
    /**角色id:platformRoleId
     * */
    @ApiModelProperty("角色id")
    @Digits(integer = 10, fraction = 0, message = "platformRoleId必须是整数")
    private Integer platformRoleId;
    /**账号状态：state
     * */
    @ApiModelProperty("角色状态")
    private Integer state;
}
